﻿namespace EasyXaf.MongoDB;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class MongoAssociationAttribute : Attribute
{
    public string AssociationName { get; }

    public MongoAssociationAttribute()
    {
    }

    public MongoAssociationAttribute(string associationName)
    {
        AssociationName = associationName;
    }
}
